package com.ditri.distrident.common.dto.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @Author: edxuanlen
 * @Date: 2020/8/1:22:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminLoginReq {

    /**
     * 超级用户名
     */
    @NotNull
    private String rootName;

    /**
     * 超级用户明文密码
     */
    @NotNull
    private String rootPassword;
}
